package com.gxa.stu.util;

import java.util.Random;

public class RandomUtil {

    public static String random(Integer size){
        StringBuilder stringBuilder = new StringBuilder();
        Random random = new Random();
        for(int i=0;i<size;i++){
            stringBuilder.append(random.nextInt(9)+1);
        }
        return stringBuilder.toString();
    }
}
